<?php
/*
Advertise with us
*/
?>
<script type="text/javascript">
function validateEmailForm(){
	if(jQuery("#fullname").val()==""){
		alert('Please Provide Your Full Name');
		jQuery("#fullname").focus();
		return false;
	}
	var reg = /^([A-Za-z0-9_\-\.])+\@([A-Za-z0-9_\-\.])+\.([A-Za-z]{2,4})$/;
	if(reg.test(jQuery("#from").val()) == false){
		alert('Please Provide Your Valid Email Address');
		jQuery("#from").focus();
		return false;
	}
	if(jQuery("#message").val()==""){
		alert('Please type your enqiury message');
		jQuery("#message").focus();
		return false;
	}
	return true;	
}
</script>

<div class="widget_text widget">
<h3 class="widget-title"> <strong>Request a call back</strong></h3>
<div class="textwidget">

<div class="custom-form sidebar-form">

<form action="http://stoneselector.com/send-buying-leads/" method="post" enctype="multipart/form-data" onsubmit="return validateEmailForm()">

<ul>
	<li>
    <label for="fullname" class="lbl">Name:</label>
	<input type="text" placeholder="Company Name" class="field-text small" name="fullname" id="fullname" />
    </li>
	<li>
	  <label for="from" class="lbl">Email:</label>
	  <input type="text" placeholder="Email" class="field-text small" name="from" id="from" />
	  </li>

	<li>
    <label for="phone" class="lbl">Phone:</label>
	<input type="text" placeholder="Phone Number" class="field-text small" name="phone" id="phone" />
    </li>

	<li>
    <label style="width:auto" for="message" class="lbl2">how and when should we contact you?:</label>
	  <textarea cols="22" rows="10" class="field-text small2" name="message" id="message"></textarea>
	  </li>
	<li class="form-button">
	  <input name="advertise_btn" type="submit" class="field-button" value="Send your request" id="advertise_btn" />
	  </li>
</ul>

</form>
</div>

</div>
</div>